<?php

namespace Install\Controller;

use Think\Controller;
use Think\Storage;

/**
 * @author ZXZ <zxz054321@163.com>
 */
class InstallController extends Controller {

    public function _initialize() {
        /* 只允许通过install.php入口文件访问 */
        if (!defined('BIND_MODULE') || BIND_MODULE != 'Install') {
            $this->error('安装程序打开方式不对！');
        }
    }

}
